]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
padOsd: Add parameter type to keybinding-edited signal
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 20 Mar 2020 12:31:03 +0000 (13:31 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 20 Mar 2020 12:32:56 +0000 (13:32 +0100)
This has a string argument, but none was defined.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2451
js/ui/padOsd.js

index 632b52781553ccd21382785717e3b72c14691cd4..c2723c0e21fb5b31fb782ba2d929e24672bdae60 100644 (file)
@@ -89,7 +89,7 @@ var PadChooser = GObject.registerClass({
 });
 
 var KeybindingEntry = GObject.registerClass({
-    Signals: { 'keybinding-edited': {} },
+    Signals: { 'keybinding-edited': { param_types: [GObject.TYPE_STRING] } },
 }, class KeybindingEntry extends St.Entry {
     _init() {
         super._init({ hint_text: _("New shortcut…"), style: 'width: 10em' });